home *** CD-ROM | disk | FTP | other *** search
/ Aminet 37 / Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso / Aminet / util / cli / SetDTool.readme < prev    next >
Text File  |  2000-05-02  |  3KB  |  93 lines

  1. Short:    CLI-Program to change DefaultTool_Entrys
  2. Author:   mission@cs.tu-berlin.de (joerg riemer)
  3. Uploader: mission@cs.tu-berlin.de (joerg riemer)
  4. Version:  1.1
  5. Type:     util/cli
  6. Replaces: util/cli/SetDTool.*
  7. Requires: Kickstart V37+
  8.  
  9.  
  10. SetDTool is a short cli-program (a bit more then 800 bytes) to modify
  11. the DefaultTool_Entry in a Project_Icon.  i couldn't found any in the
  12. aminet  that  want  work  simple  in the same way like this one.  the
  13. reason i have written this piece.
  14.  
  15. ** history **********************************************************
  16.  
  17. SetDTool v1.1 sourcecode: 10  date: 02.04.2000
  18.          removed some stupid error-handling!
  19.  
  20. SetDTool V1.0 sourcecode: 09  date: 21.03.2000
  21.          first release
  22.  
  23. ** usage ************************************************************
  24.  
  25. SetDTool Template: FILE/A,TOOL/K,QUIET/S
  26.  
  27.   FILE/A
  28.     Path/Filename etc.
  29.  
  30.   TOOL/K
  31.     The new DefaultTool string, requires TOOL as keyword.
  32.  
  33.   QUIET/S
  34.     If given, SetDTool will do not print anything to the window.
  35.  
  36.     Example: SetDTool DH0:Picture/MyPic.info TOOL MultiView QUIET
  37.  
  38.  
  39. SetDTool  supports  pattern-matching.   it  is  useful if you want to
  40. change the DefaultTool_Entry in a couple of Project_Icons.
  41.  
  42.     Example: SetDTool DH1:Icons/#? TOOL SYS:Tools/IconEdit
  43.  
  44. for  further  information  about  pattern-matching  take look in your
  45. AmigaDOS  manual.   for  another  example, you maybe want to clear an
  46. entry in a Project_Icon then type follows:
  47.  
  48.     SetDTool DH1:Icons/def_project.info TOOL ""
  49.  
  50. it  is  also  possible  to  integrate  SetDTool  in  DOpus.  read the
  51. DirectoryOpus  manual  how  to  create  either a Button or a MenuItem
  52. using  SetDTool.
  53.  
  54. ** bit information **************************************************
  55.  
  56. SetDTool only edits Project_Icons.  any other File will be skipped by
  57. printing an error (212):  object is not of required type.
  58.  
  59. SetDTool   is   written  in  assembler.   the  sourcecode  is  highly
  60. optimized,  well  structured and for this revision (no.10) completely
  61. position  independent.   is  anybody interested in writing assembler?
  62. here is a good example to learn from.
  63.  
  64.  
  65. EVERYTHING  IN  THIS  DISTRIBUTION MUST BE KEPT TOGETHER, IN ORIGINAL
  66. AND  UNMODIFIED  FORM.   THE  SOURCECODE  OF  SETDTOOL IS FOR PRIVATE
  67. INVESTIGATIONS   ONLY!    ANY  CHANGES  TO  THE  SOURCE  REQUIRES  MY
  68. PERMISSION!
  69.  
  70. *** USE AT YOUR OWN RISK ***
  71.  
  72.  
  73. for suggestions, hints, tips and/or questions
  74. send an email to: mission@cs.tu-berlin.de
  75.  
  76.   joerg...
  77.  
  78.  
  79. ============================= Archive contents =============================
  80.  
  81. Original  Packed Ratio    Date     Time    Name
  82. -------- ------- ----- --------- --------  -------------
  83.     2169     488 77.5% 06-Apr-00 00:00:00  SetDTool.info
  84.      812     604 25.6% 06-Apr-00 00:00:00 +SetDTool
  85.     2463    1242 49.5% 06-Apr-00 00:00:00 +SetDTool.readme
  86.     3017     534 82.3% 06-Apr-00 00:00:00 +SetDTool.readme.info
  87.    14082    3763 73.2% 06-Apr-00 00:00:00 +SetDTool_09.s
  88.     3145     411 86.9% 06-Apr-00 00:00:00 +SetDTool_09.s.info
  89.    13601    3651 73.1% 06-Apr-00 00:00:00 +SetDTool_10.s
  90.     3145     418 86.7% 06-Apr-00 00:00:00 +SetDTool_10.s.info
  91. -------- ------- ----- --------- --------
  92.    42434   11111 73.8% 12-Apr-100 10:51:48   8 files
  93.